#include <iostream>

int main()
{
#ifdef TEST_IT_CMAKE
	std::cout<<"in ifdef"<<std::endl;
#else
	std::cout<<"not in ifdef"<<std::endl;
#endif

#ifdef _USRDLL
std::cout << "USRDLL has been defined!\n";
#ifdef COMMON_EXPORTS
std::cout << "COMMON EXPORTS has been defined!\n";
#define COMMON_API __declspec(dllexport)
#else
std::cout << "COMMON EXPORTS has NOT been defined!\n";
#define COMMON_API __declspec(dllimport)
#endif
#else
std::cout << "USRDLL has NOT been defined!\n";
#define COMMON_API
#endif 

}
